<?php
/**
 * Created by PhpStorm.
 * BuyUser: u
 * Date: 2018/11/8
 * Time: 14:06
 */
namespace common\sources\read\test;

use common\models\craftsman\Test;

class TestAccess implements ITestAccess
{

    public function getTestAll()
    {
        // TODO: Implement getTestAll() method.
        return Test::find()
                ->select('id,name')
                ->asArray()
                ->all();
    }
}